package com.ych.modules.base.service;

import com.baomidou.mybatisplus.service.IService;
import com.ych.modules.base.dbEntity.TSysChargeRuleEntity;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2021/3/18
 * Time: 14:52
 * Description:
 */
public interface ITSysChargeRuleService extends IService<TSysChargeRuleEntity> {
    /**
     * 查询收费规则列表
     * @return
     */
    List<TSysChargeRuleEntity> listChargeRule();

    /**
     * 修改收费规则
     * @param entity
     */
    void modifyChargeRule(TSysChargeRuleEntity entity);

    TSysChargeRuleEntity getChargeRule(String chargeBusinessType);
}
